package com.jxl.service;

import com.jxl.entity.dto.ScheduleDTO;
import com.jxl.entity.po.Schedule;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jxl.entity.query.SchedulePageQuery;
import com.jxl.entity.vo.PageResponse;
import com.jxl.entity.vo.ScheduleVO;

/**
 * <p>
 * 排班表 服务类
 * </p>
 *
 * @author 金小梁
 * @since 2025-06-09
 */
public interface IScheduleService extends IService<Schedule> {

    /**
     * 分页查询
     * @param schedulePageQuery
     * @return
     */
    PageResponse<ScheduleVO> querySchedules(SchedulePageQuery schedulePageQuery);

    /**
     * 新增
     * @param scheduleDTO
     */
    void addSchedule(ScheduleDTO scheduleDTO);

    /**
     * 修改
     * @param scheduleDTO
     */
    void updateSchedule(ScheduleDTO scheduleDTO);
}
